// global transition css

/* fade */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.28s;
}

.fade-enter,
.fade-leave-active {
  opacity: 0;
}

/* fade-transform */
.fade-transform-leave-active,
.fade-transform-enter-active {
  transition: all .5s;
}

.fade-transform-enter {
  opacity: 0;
  transform: translateX(-30px);
}

.fade-transform-leave-to {
  opacity: 0;
  transform: translateX(30px);
}

/* breadcrumb transition */
.breadcrumb-enter-active,
.breadcrumb-leave-active {
  transition: all .5s;
}

.breadcrumb-enter,
.breadcrumb-leave-active {
  opacity: 0;
  transform: translateX(20px);
}

.breadcrumb-move {
  transition: all .5s;
}

.breadcrumb-leave-active {
  position: absolute;
}

 /* down-transform */
.down-transform-enter-active,
.down-transform-leave-active{
  transition: opacity 0.3s;
}

.down-transform-enter{
  opacity: 0;
}

.down-transform-leave-active{
  animation: down 0.6s;
}

@keyframes down{
  10%{
    transform: rotate(60deg) scale(0.9);
  }
  20%{
    transform: rotate(120deg) scale(0.8);
  }
  30%{
    transform: rotate(180deg) scale(0.7);
  }
  40%{
    transform: rotate(240deg) scale(0.6);
  }
  50%{
    transform: rotate(300deg) scale(0.5);
  }
  60%{
    transform: rotate(360deg) scale(0.4);
  }
  70%{
    transform: rotate(420deg) scale(0.3);
  }
  80%{
    transform: rotate(480deg) scale(0.2);
  }
  90%{
    transform: rotate(540deg) scale(0.1);
  }
  100%{
    transform: rotate(600deg) scale(0);
  }
}

.list-transition-item{
  transition: all 0.5s;
}
.list-transition-enter {
  opacity: 0;
  transform: translateY(30px);
}
.list-transition-leave-to{
  opacity: 0;
  transform: translateY(-30px);
}
.list-transition-leave-active {
  position: absolute;
}
